package com.hncc.bms.mapper;

import java.util.List;
import com.hncc.bms.domain.BmsInvoiceRecord;

/**
 * 发票Mapper接口
 * 
 * @author ruoyi
 * @date 2020-09-04
 */
public interface BmsInvoiceRecordMapper 
{
    /**
     * 查询发票
     * 
     * @param id 发票ID
     * @return 发票
     */
    public BmsInvoiceRecord selectBmsInvoiceRecordById(Long id);

    /**
     * 查询发票列表
     * 
     * @param bmsInvoiceRecord 发票
     * @return 发票集合
     */
    public List<BmsInvoiceRecord> selectBmsInvoiceRecordList(BmsInvoiceRecord bmsInvoiceRecord);

    /**
     * 新增发票
     * 
     * @param bmsInvoiceRecord 发票
     * @return 结果
     */
    public int insertBmsInvoiceRecord(BmsInvoiceRecord bmsInvoiceRecord);

    /**
     * 修改发票
     * 
     * @param bmsInvoiceRecord 发票
     * @return 结果
     */
    public int updateBmsInvoiceRecord(BmsInvoiceRecord bmsInvoiceRecord);

    /**
     * 删除发票
     * 
     * @param id 发票ID
     * @return 结果
     */
    public int deleteBmsInvoiceRecordById(Long id);

    /**
     * 批量删除发票
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBmsInvoiceRecordByIds(Long[] ids);
}
